#!/usr/bin/env python3
# -*- coding: utf-8 -*-

"""
HikVision Camera Control Library
海康威视相机控制库

这是一个用于控制海康威视相机的Python库，提供了简单易用的API来操作海康威视相机设备。

Example:
    Basic usage:
        from hik_camera import HikCamera
        
        # 创建相机实例
        camera = HikCamera(camera_index=0)
        
        # 读取一帧图像
        camera.read_frame()
        if camera.frame is not None:
            print(f"图像尺寸: {camera.frame.shape}")
        
        # 关闭相机
        camera.close()
    
    Context manager usage (recommended):
        from hik_camera import HikCamera
        
        with HikCamera(camera_index=0) as camera:
            camera.read_frame()
            if camera.frame is not None:
                print(f"图像尺寸: {camera.frame.shape}")
"""

__version__ = "1.0.0"
__author__ = "liuhaoya20"
__email__ = ""
__license__ = "MIT"
__copyright__ = "Copyright 2025, liuhaoya20"

from .camera import HikCamera

__all__ = ["HikCamera"]
